<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'recipie-form',
	'enableAjaxValidation'=>false,
)); ?>
	<?php echo $form->errorSummary($model); ?>
        <?php echo $this->renderFlash(); ?>

        <table border="0" cellpadding="0" cellspacing="0"  id="id-form">            
            <tr>
                <th valign="top"><?php echo $form->labelEx($model,'drinkid'); ?></th>
                <td><?php echo $form->dropDownList($model,'drinkid',  CHtml::listData(Drink::model()->findAll(), 'drinkid', 'drinkname'), array('class' => 'styledselect_form_1')); ?></td>
                <td></td>
            </tr>
            <tr>
                <th valign="top"><?php echo $form->labelEx($model,'menuid'); ?></th>
                <td><?php echo $form->textField($model,'menuid',  array(
                    'class' => 'inp-form', 
                    'value' => $model->isNewRecord ? 1 : $model->menuid, 
                    'readonly' => 'true', 
                    'style' => 'background: #CCC')); ?></td>
                <td></td>
            </tr>                      
            <tr>
                <th>&nbsp;</th>
                <td valign="top">
                    <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save', array('class' => 'form-submit')); ?>
                </td>
                <td></td>
            </tr>
        </table>

<?php $this->endWidget(); ?>

</div><!-- form -->